﻿using System;
using System.Collections.Generic;
using System.Drawing;
using System.Text;

namespace TigerAndGoats.Framework
{
    public static class GlobalSettings
    {
        public const int STEP_LENGTH = 100;
        public const int BORDER_WIDTH_V = 30;
        public const int BORDER_WIDTH_X = 130;
        public const int TITLE_HEIGHT = STEP_LENGTH + 30;

        public const short VERTICAL_STEPS = 6;
        public const short HORIZONTAL_STEPS = 4;

        public const short MAX_GOATS_STEPS = 150; // 暂定为150步（羊的移动步数达到150步之后，老虎还没有死，这个时候老虎取得胜利）
        public const short INIT_GOATS_ONHAND = 18;

        public static Size PieceSizeTiger(decimal ratio = 1) {
            return new Size((int)(80 * ratio), (int)(80 * ratio));
        }

        public static Size PieceSizeGoat(decimal ratio = 1)
        {
            return new Size((int)(60 * ratio), (int)(60 * ratio));
        }
    }
}
